#include "LBehaviour.h"


NS_CC_CORE_BEGIN

LBehaviour::LBehaviour( )
{

}


LBehaviour::~LBehaviour( )
{

}



void LBehaviour::setParent( CCNode* pNode )
{
	CCLayer::setParent(pNode);

	//Call the init method when adding to parent, so use dont have to call it manual
	this->init( );
}


bool LBehaviour::init( )
{
	if( !CCLayer::init( ) )
		return false;
	//Auto schedule update
	this->scheduleUpdate( );

	return true;
}


void LBehaviour::update( float dt )
{

}



NS_CC_CORE_END
